//
//  ApiConst.h
//  TravelGuideMdd
//
//  Created by BigPolarBear on 13-5-20.
//  Copyright (c) 2013年 mafengwo.com. All rights reserved.
//

#ifndef ConstApi_h
#define ConstApi_h


#ifdef DEBUG
#define kAPI_HOST(API)   [NSString stringWithFormat:@"http://www.youyuwei.com%@",API]
#else

#define kAPI_HOST(API)   [NSString stringWithFormat:@"https://www.youyuwei.com%@",API]

#endif

#define kAPI_CITY kAPI_HOST(@"/api/city")
#define kAPI_RECOMMEND kAPI_HOST(@"/api/recommend")
#define kAPI_CITYINFO kAPI_HOST(@"/api/rest")
#define kAPI_RESTINFO kAPI_HOST(@"/api/dish")
#define kAPI_DISHINFO kAPI_HOST(@"/api/dish/")
#define kAPI_SEARCH kAPI_HOST(@"/api/seach")
#define kAPI_FIND kAPI_HOST(@"/api/find")
#define kAPI_NOTE kAPI_HOST(@"/api/note")
#define kAPI_KEYWORD kAPI_HOST(@"/api/kword")
#define kAPI_MSG kAPI_HOST(@"/api/msg")
#define kAPI_LABEL kAPI_HOST(@"/api/label")
#define kAPI_COLLECT kAPI_HOST(@"/api/collect")
#define kAPI_USER kAPI_HOST(@"/api/user")
#define kAPI_FAVOUR kAPI_HOST(@"/api/favour")
#define kAPI_TRANSLATE kAPI_HOST(@"/api/translate")
#define kAPI_MUSTDISH kAPI_HOST(@"/api/mustdish")
#define kAPI_COUNTRY kAPI_HOST(@"/api/country")
#define kAPI_SCENERY kAPI_HOST(@"/api/scenery")
#define kAPI_INVENTORY kAPI_HOST(@"/api/inventory")
#define kAPI_CHAT kAPI_HOST(@"/api/chat")
#define kAPI_FEEDBACK kAPI_HOST(@"/api/feedback")
#define kAPI_REPORT kAPI_HOST(@"/api/report")
#define kAPI_SCORE kAPI_HOST(@"/api/score")
#define kAPI_MAIL kAPI_HOST(@"/api/mail")
#define kAPI_ACTIVITY kAPI_HOST(@"/api/activity")
#define kAPI_LOGO kAPI_HOST(@"/api/logo")
#define kAPI_FOODCAMERA kAPI_HOST(@"/api/foodcamera")
#define kAPI_LOCALCITY kAPI_HOST(@"/api/localcity")
#define kAPI_MICHELIN kAPI_HOST(@"/api/michelin")
#define kAPI_NOTEV2 kAPI_HOST(@"/api/notev2")
#define kAPI_DASHANG kAPI_HOST(@"/api/dashang")
#define kAPI_COOKIE kAPI_HOST(@"/api/cookie")

#define kAPI_QiNiu_Url @"https://www.youyuwei.com/yw/qiniu_uploadtoken.php"

#endif
